package com.huawei.account.config;

public class Constants {
    // 华为API地址
    public static final String QUICK_LOGIN_PHONE_NUMBER_URL = "https://oauth-login.cloud.huawei.com/oauth2/v6/quickLogin/getPhoneNumber";
    public static final String TOKEN_VERIFY_URL = "https://oauth-login.cloud.huawei.com/oauth2/v3/tokeninfo";
    public static final String TOKEN_REFRESH_URL = "https://oauth-login.cloud.huawei.com/oauth2/v3/token";
    public static final String REVOKE_TOKEN_URL = "https://oauth-login.cloud.huawei.com/oauth2/v3/revoke";
    
    // 响应状态码
    public static final int SUCCESS = 200;
    public static final int ERROR = 500;
    public static final int INVALID_PARAM = 400;
    public static final int UNAUTHORIZED = 401;
    
    // 响应消息
    public static final String SUCCESS_MSG = "操作成功";
    public static final String ERROR_MSG = "服务器内部错误";
    public static final String INVALID_PARAM_MSG = "无效的参数";
    public static final String UNAUTHORIZED_MSG = "未授权访问";
}
